
#include <rtthread.h>


#include "lvgl.h"
#include "lv_ex_conf.h"
/**
 * Create a simple 'Hello world!' label
 */
void lv_tutorial_hello_world(void)
{
    lv_obj_t *scr = lv_disp_get_scr_act(NULL); /*Get the current screen*/

    /*Create a Label on the currently active screen*/
    lv_obj_t *label1 = lv_label_create(scr, NULL);

    /*Modify the Label's text*/
    lv_label_set_text(label1, "Hello world!");

    /* Align the Label to the center
     * NULL means align on parent (which is the screen now)
     * 0, 0 at the end means an x, y offset after alignment*/
    lv_obj_align(label1, NULL, LV_ALIGN_CENTER, 0, 0);
}



int main(void)
{
    rt_kprintf("hello!\n");
	
	lv_tutorial_hello_world();

    return 0;
}




